package com.baoer.mapper;

import com.baoer.entity.Ordersmall;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface OrdersmallMapper {
    public List<Ordersmall> ordersmallList(Map<String, Object> map);

    public  int ordersmallCount();
    //订单处理中列表
    public List<Ordersmall> ordersmallListDealing(Map<String, Object> map);
    //订单处理中列表数量
    public  int ordersmallListDealingCount();
    //订单处理以确定列表
    public List<Ordersmall> ordersmallListDeal(Map<String, Object> map);
    //订单处理以确定列表数量
    public  int ordersmallListDealCount();
    //订单处理拒绝列表
    public List<Ordersmall> ordersmallListDealfail(Map<String, Object> map);
    //订单处理拒绝列表数量
    public  int ordersmallListDealfailCount();

    //订单详情
    //产品信息
    public Ordersmall ordersmallListInfoProduct(int id);

    //订单信息
    public Ordersmall ordersmallListInfoOrder(int id);

    //供应商单位
    public Ordersmall ordersmallListStore(int id);

    //搜索功能
    public List<Ordersmall> ordersmallListSearch(Map<String, Object> map);

    //计算页码
    public int ordersmallListSearchCount(Map<String, Object> map);
}
